package com.windgo.bean.wxVo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author mabai
 * @since 2022/10/16 17:31
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SelectListResponseVO {
    // 优惠券用户使用表中的主键id
    private int id;
    // 优惠券id
    private int cid;
    // 优惠券名称
    private String name;
    // 优惠券简介
    private String desc;
    // 优惠券表中的优惠券标签
    private String tag;
    // 优惠券表中的优惠券使用门槛
    private int min;
    // 优惠券表中的折扣
    private int discount;
    // 优惠券的生效时间
    private String startTime;
    // 优惠券的失效时间
    private String endTime;
    // 表示当前下单页面中该优惠券是否可用
    private boolean available;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public int getMin() {
        return min;
    }

    public void setMin(int min) {
        this.min = min;
    }

    public int getDiscount() {
        return discount;
    }

    public void setDiscount(int discount) {
        this.discount = discount;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public boolean isAvailable() {
        return available;
    }

    public void setAvailable(boolean available) {
        this.available = available;
    }
}
